cmake_minimum_required (VERSION 2.8...3.21)

set(This ${TestExecutableName})

set(Sources
        main.cpp
)

add_executable(${This} ${Sources})
target_link_libraries(${This} PUBLIC
        gtest_main
        ${LibraryName}
)

add_test(
        NAME ${This}
        COMMAND ${This}
)

